package com.zqs.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@TableName("classc")
@Data
public class ClasscDO {
    @TableId(type = IdType.AUTO)
    @NotNull(message = "班级编号不能为空")
    private Integer classNum;

    @NotBlank(message = "班级名称不能为空")
    private String className;
}
